﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;

namespace HY.BLL
{
  public  class BllHtml
    {

            /// </summary> 
            /// <param name="Str"></param> 
            /// <returns>返回过滤之后的字符串</returns> 
       public static string LostHTML(string Str) 
        { 
          string Re_Str = ""; 
                if (Str != null) 
                { 
                        if (Str != string.Empty) 
                        { 
                        string Pattern = "<\\/*[^<>]*>"; 
                        Re_Str = Regex.Replace(Str, Pattern, ""); 
                        } 
                } 
          return (Re_Str.Replace("\\r\\n", "")).Replace("\\r", ""); 
        } 


    }
}
